package cn.simple.manager.web;

import cn.simple.manager.Repository.ImageStorageResponsitory;
import cn.simple.manager.todo.ImageStorage;
import cn.simple.manager.todo.ResponseEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;
import java.util.UUID;

@Controller
@RequestMapping("/pictureDemo")
public class TestController {
    
    /**
     * 图片上传列表
     * @return
     */
    @RequestMapping("/list")
    public String list(){
        return "picture/member-list.html";
    }
    
    /**
     * 图片新增表单
     * @return
     */
    @RequestMapping("/addWeb")
    public String addWeb(){
        return "picture/member-add.html";
    }
 
}
